package com.jieshuibao.mapper;

import com.jieshuibao.model.db.VideoBuyHistory;
import com.jieshuibao.model.db.VideoBuyHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VideoBuyHistoryMapper {
    int countByExample(VideoBuyHistoryExample example);

    int deleteByExample(VideoBuyHistoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(VideoBuyHistory record);

    int insertSelective(VideoBuyHistory record);

    List<VideoBuyHistory> selectByExample(VideoBuyHistoryExample example);

    VideoBuyHistory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") VideoBuyHistory record, @Param("example") VideoBuyHistoryExample example);

    int updateByExample(@Param("record") VideoBuyHistory record, @Param("example") VideoBuyHistoryExample example);

    int updateByPrimaryKeySelective(VideoBuyHistory record);

    int updateByPrimaryKey(VideoBuyHistory record);

    List<VideoBuyHistory> selectPage(VideoBuyHistoryExample example);
}